<ion-view view-title="商品详情" class="single" cache-view="false">
    <ion-content class="padding">
        <div class="padding">
            <div class="single-main">
                <div class="single-image">
                    <img ng-src="data:image/jpg;base64,{{product.Picture}}" alt="{{product.ItemName}}"/>
                </div>
                <h5 class="single-name">
                    {{product.ItemName}}
                </h5>
                <div class="single-subname padding-bottom text-small">
                    {{product.SPECS}}
                </div>
                <p class="price">
                    ￥{{product.Price}}
                </p>
            </div>

            <h5>商品介绍</h5>
            <dl>
                <dt class="text-small" ng-repeat="attr in attrs track by $index">
                    {{attr}}
                </dt>
            </dl>
        </div>
        <div class="padding"></div>
    </ion-content>

    <div class="bar bar-footer" >
        <a class="pull-left" ng-class="{assertive:status.attent}" on-tap="pushInAttent($event)">
            <i class="icon {{status.attentClass}}" ></i>
            关注
        </a>
        <a class="pull-left" ui-sref="cart">
            <i class="icon ion-android-cart" ></i>
            购物车
            <span class="badge badge-assertive">{{cartConunt}}</span>

        </a>
        <a  class="pull-right" on-tap="pushInCart()">
            加入购物车
        </a>
    </div>


</ion-view>